package com.shopnight.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shopnight.entity.ShopOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shopnight.vo.ResByIdOrder;
import com.shopnight.vo.ResOrder;

import java.util.List;
import java.util.Map;

/**
* @author 13201
* @description 针对表【shop_order】的数据库操作Service
* @createDate 2022-09-05 18:33:28
*/
public interface ShopOrderService extends IService<ShopOrder> {

    Page<ResOrder> getOrderByCategoryId(Page<ResOrder> page, Integer CategoryId);

    Page<ResOrder> getOrder(Integer orgId,Page<ResOrder> page);

    Page<ResOrder> getOrderByName(Integer orgId,Page<ResOrder> page, String orderName);

    ShopOrder selectOrder(Integer orderId);

    ResByIdOrder  getOrderById(Integer orderId);

    Page<ResOrder> getSeckillOrder(Integer orgId,Page<ResOrder> page);

    List<Map<String,Object>> getSeckillModule(Integer orgId);
}
